Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: FTP file from MAC OS x
Feedback Type: Question
Product Area: Notes 8 Client
Technical Area: Functionality
Platform: Not Applicable
Release: All
Reproducible: Not applicable

I have a agent that creates a file and sends it with ftp.. This is made for Win plattforms..
How can I make it work with MAC OS?

Any similar solution in mac os?


'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><Create Connection Files><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Dim strFTPini As String
Dim strFTPbat As String

' Remove, testing only
counter = 0

strFTPini = "ftp.ini"
strFTPbat = "ftp.bat"

'Get an unused file number so LotusScript can open a file.
fileNum% = Freefile()

'<<<<<<<<<<<< Create ini file >>>>>>>>>>>>>
Open strFTPini For Output As fileNum%

ftpuser = AnvNamn
ftppassword = Pass
ftpaddress = URL
counter = counter + 1
Print #fileNum%, "open " & ftpaddress & Chr(13) & Chr(10) & ftpuser & Chr(13) & Chr(10) & ftppassword & Chr(13) & Chr(10) & "binary" & Chr(13) & Chr(10) & "prompt n" & Chr(13) & Chr(10) & "mput C:\" & ftpfile & Chr(13) & Chr(10) & "bye"

Close #fileNum%
'<<<<<<<<<<<< /Create ini file >>>>>>>>>>>>>

'<<<<<<<<<<<< Create bat file >>>>>>>>>>>>>
Open strFTPbat For Output As fileNum%

BatString= "%SystemRoot%\system32\ftp -s:ftp.ini"
counter = counter + 1
Print #fileNum%, BatString

Close #fileNum%
'<<<<<<<<<<<< Create bat file >>>>>>>>>>>>>

'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><Create Connection Files><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><Run Ftp bat><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Dim taskId As Integer
taskId% = Shell("ftp.bat", 7)

boxType& = MB_OK + MB_ICONINFORMATION
answer% = Messagebox("Tredjepartsannons, skickad!", boxType&, "Tredjeparts annonsering")


'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><Run Ftp bat><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


Feedback number WEBB8HBFCG created by ~Alexis Retumitexakoi on 05/29/2011

Status: Open
Comments:

FTP file from MAC OS x (~Alexis Retumit... 29.May.11)
. . use ftp and java as a notes java ag... (~John Reniskiik... 31.May.11)
. . . . Java ftp library. (~Alexis Retumit... 5.Jun.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS